﻿using System.Linq;
using Abmemunit.Domain;

namespace Abmemunit.Data.Infrastructure
{
    public partial interface IRepository<T> where T : BaseEntity
    {
        T GetById(object id);
        void Insert(T entity);
        void Update(T entity);
        void Delete(T entity);
        void SaveChanges();
        IQueryable<T> Table { get; }
    }
}
